package cn.tfyhyc.springcloud.dao;

import cn.tfyhyc.springcloud.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 头发又黑又长
 * @Date 2022/10/30 8:28
 * @email zwb15083976291@163.com
 */
@Mapper
public interface OrderDao {


    //新建订单
    void create(Order order);

    // 修改订单状态
    void update(@Param("userId") Long userId,@Param("status")  Integer status);



}
